package com.dk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//有参构造
@TableName("tb_order")
public class TbOrder {

    @TableId(value = "order_id",type = IdType.AUTO)
    private Long orderId;

    @TableField(value = "seller_id")
    private Long sellerId;

    @TableField(value = "car_id")
    private Long carId;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "payment")
    private BigDecimal payment;

    @TableField(value = "payment_type")
    private String paymentType;

    @TableField(value = "status")
    private String status;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "payment_time")
    private Date paymentTime;

    @TableField(value = "receiver_mobile")
    private String receiverMobile;

    @TableField(value = "total_fee")
    private BigDecimal totalFee;

    @TableField(value = "expire")
    private String expire;

    @TableField(value = "invoice_type")
    private String invoiceType;

    @TableField(value = "order_num")
    private String orderNum;

    @TableField(value = "trade_no")
    private String trade_no;

    @TableField(value = "title")
    private String title;













}
